const Document =function Document()
{

}

catvm.safefunction(Document);

Object.defineProperties(Document.prototype,{
    [Symbol.toStringTag]:{
        value:'Document',
        configurable:true,
    }
})

document = {}
document.__proto__ = Document.prototype
document.cookie = 'shshshfpa=b22613ca-dd6e-58ca-7bd8-5541f3f30d2d-1694244105; shshshfpx=b22613ca-dd6e-58ca-7bd8-5541f3f30d2d-1694244105; pinId=uypzQB6QDHI7xf2egTl2zw; pin=jd_SXYOwTczlthr; unick=jd_h69d3y5cbn3um2; _tp=73bVr%2B3Ssjdwf2EQWT8F9A%3D%3D; areaId=15; ipLoc-djd=15-1262-1267-56327; joyya=1726708491.1726708500.24.1bu1qji; unpl=JF8EAKtnNSttWk4AV0gLG0UTTg1dW14PSx4BOGUHU10MGFQDEwMfGhF7XlVdWBRKHx9sZRRVVFNOUw4eAysSEXteVV5UCk0XA2hmNWRaWEIZRElPKxEQe11Vbl0OSBALaWYMV1hRTFIGHgMcExdJWVVuXDhMFwpfVzVRXVlKUAAdAhISIEptVl9cCkMQBG9hBGQWNkoZBR0BHBoWSlRXW1QPTRQGbmAEU19cSmQEKwE; __jdv=43385719|lianmeng__10__www.tongbuxing.com|t_2018371160_|tuiguang|34ecb81f24a8426183f3361eb1790590|1727052402590; 3AB9D23F7A4B3C9B=VN7HAKH7OTPCK77F72GN73MX6XKKF5BR2R5QBGVSBAWHBVZYQUMARA2QDXIS2JAVXCEE33PJFMZH33A5DVL4VTJEUA; __jdu=1727076327256688380157; jsavif=1; jsavif=1; __jdc=181111935; token=63fb6b04d0f472fefc7381c4db427faf,2,959536; 3AB9D23F7A4B3CSS=jdd03VN7HAKH7OTPCK77F72GN73MX6XKKF5BR2R5QBGVSBAWHBVZYQUMARA2QDXIS2JAVXCEE33PJFMZH33A5DVL4VTJEUAAAAAMSEMGGBOIAAAAACSFWIM4YAS4MRMX; _gia_d=1; __jda=181111935.1727076327256688380157.1727076327.1727161032.1727164867.6; __jdb=181111935.1.1727076327256688380157|6.1727164867; shshshfpb=BApXS_wYEIPdA0L3aLym2fskRPDZINbz3B9ZlRipo9xJ1MnJK74C2'
document.referrer = location.href || ''
document.all=all
document.documentElement=catvm.proxy({})





document.getElementById = function getElementById(id){
    return null
}
catvm.safefunction(document.getElementById)
document.addEventListener = function addEventListener(type,listener,useCapture){
    
}
catvm.safefunction(document.addEventListener)

document.createElement = function createElement(tagName){
        debugger
        let tagname = tagName.toLowerCase() + ''
        if(catvm.memory.htmlElements[tagname] == undefined){
            debugger
        }
        return catvm.proxy(catvm.memory.htmlElements[tagName]())

}


document.createTextNode = function createTextNode(id) {
    console.log(id)
    debugger
    return catvm.proxy({});
};
document.createEvent = function createEvent(type,listener,useCapture){
    return catvm.proxy({})
}
document.querySelector=function querySelector(){
    return catvm.proxy({})
}





catvm.safefunction(document.createTextNode);
catvm.safefunction(document.createElement)
catvm.safefunction(document.createEvent)
catvm.safefunction(document.querySelector)

document.head=catvm.proxy({childElementCount:87})
document.body= catvm.proxy({innerHTML:"返回了innerHtml,还需完善",childElementCount:40})
document.childElementCount=1


document = catvm.proxy(document)
